package com.coldworks.base;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import android.app.Activity;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

public class BaseFragment extends Fragment {
	protected final Logger log = LoggerFactory.getLogger(this.getClass());

	@Override
	public void onActivityCreated(Bundle savedInstanceState) {
		super.onActivityCreated(savedInstanceState);
		log.info("onActivityCreated");
	}

	@Override
	public void onAttach(Activity activity) {
		super.onAttach(activity);
		log.info("onAttach");
	}

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		log.info("onCreate");
	}

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		log.info("onCreateView");
		return super.onCreateView(inflater, container, savedInstanceState);

	}

	@Override
	public void onDestroy() {
		log.info("onDestroy");
		super.onDestroy();
	}

	@Override
	public void onDestroyView() {
		log.info("onDestroyView");
		super.onDestroyView();
	}

	@Override
	public void onPause() {
		log.info("onPause");
		super.onPause();
	}

	@Override
	public void onResume() {
		log.info("onResume");
		super.onResume();
	}

	@Override
	public void onStart() {
		log.info("onStart");
		super.onStart();
	}

	@Override
	public void onStop() {
		log.info("onStop");
		super.onStop();
	}

}
